﻿CREATE PROCEDURE [dbo].[WorkflowGetByRun]
(@RunID UniqueIdentifier) 
AS begin
	select w.*
	from
		Workflow w
		inner join Run r on r.WorkflowID=w.WorkflowID
	where
		r.RunID=@RunID;
end